package com.huluobo.module_risk_level.repo

import com.huluobo.appbase.network.BaseReqData
import com.huluobo.appbase.network.RetrofitServiceBuilder
import com.huluobo.module_risk_level.api.RiskLevelApi
import com.huluobo.module_risk_level.bean.RiskLevelReqData

/**
 * Created by lc on 2023/3/7.
 * 风险等级的数据仓库
 */
class RiskLevelRepo {
    private var network = RetrofitServiceBuilder.createService(RiskLevelApi::class.java)

    suspend fun loadRiskLevelMessage(): BaseReqData<RiskLevelReqData>? {
        network?.let {
            return it.loadRiskLevelMessage()
        }
        return null
    }
}